package com.yy.wga.income.service.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import com.yy.wga.common.mysql.dto.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 用户提现记录(IncomeWithdrawRecord)表实体类
 *
 * @author guochao
 * @since 2024-11-26 22:10:25
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "income_withdraw_record")
public class IncomeWithdrawRecordDO extends BaseEntity {

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 提现订单号
     */
    private String orderNo;
    /**
     * 第三方提现订单号
     */
    private String thirdOrderNo;

    /**
     * 提现金额，单位分
     */
    private Integer amount;

    /**
     * 手续费，单位分
     */
    private Integer serviceCharge;

    /**
     * openId，微信提现用
     */
    private String openId;

    /**
     * 提现账号
     */
    private String withdrawAccount;

    /**
     * 用户实名
     */
    private String realName;

    /**
     * 提现类型 1、微信 2、支付宝
     */
    private Integer type;

    /**
     * 状态 0.申请提现 1.提现拒绝 2.提现中 3.提现失败 4.提现成功
     */
    private Integer status;
    /**
     * 拒绝原因
     */
    private String rejectReason;

}
